package com.jhws.business.owner.service;

import java.util.List;
import java.util.Map;

import com.jhws.business.owner.bo.TblOwnerDimBo;
import com.jhws.common.Page;
import com.jhws.business.owner.bo.TblOwnerDimForm;

public interface ITblOwnerDimService {

    public abstract TblOwnerDimBo findTblOwnerDimById(String ownerCode);

    public abstract List<TblOwnerDimBo> findTblOwnerDimByWhere(String whereStr) throws Exception;

    public abstract void update(TblOwnerDimBo bo) throws Exception;

    public abstract void save(TblOwnerDimBo bo) throws Exception;

    public abstract void removeDim(String ownerCode) throws Exception;

    public abstract Map<String, Object> findOwnerList(Map param) throws Exception;

    public abstract List<Map<String, Object>> findOwnerListForExport(Map param) throws Exception;

    public abstract Map findManagerList(Map param) throws Exception;

    public abstract String OPCheckFormOwnerLegal(TblOwnerDimBo owner) throws Exception;

    public abstract String checkFormOwnerLegal(TblOwnerDimBo ownerDimBo) throws Exception;

    public abstract TblOwnerDimBo findTblOwnerDimByMobOrRoomInfo(String mob, String RoomInfo) throws Exception;

    //条件获取业主数量
    int findOwnerCountByWhere(String where);
}
